package com.iraeta.service.iraorder;

import com.alibaba.fastjson.JSONArray;
import com.iraeta.entity.Iraorder;
import com.iraeta.entity.resulttype.IraorderResultType;

import java.util.List;

public interface IraorderService {
    public void addIraorder(Iraorder iraorder,  JSONArray productJSONArray, JSONArray scStepJSONArray);
    public void updateIraorder(Iraorder iraorder, JSONArray productJSONArray, JSONArray scStepJSONArray);
    public void deleteIraorder(Integer id);
    public Iraorder getIraorder(Integer id);
    public IraorderResultType getIraorderResultType(Integer id);
    public List<IraorderResultType> listIraorderByUserId(Integer createUserId, String orderno, String title);
    public List<IraorderResultType> listIraorderByKeHuId(Integer keHuUserId, String orderno, String title);


}
